package com.example.onlinemusicserver2024.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.onlinemusicserver2024.common.R;
import com.example.onlinemusicserver2024.model.domain.Collect;

public interface CollectService extends IService<Collect> {
    /**
     * 根据userId查询用户收藏的歌曲
     */
    R collectionOfUser(int userId);

    R addCollection(Collect collect);

    R getCollectionStatus(Collect collect);

    R deleteCollection(int userId,int songId);
}
